﻿@model Dictionary<string, string>
@{
    string text = Model["Text"];
    string ngModel = Model["Model"];
    string name = Model["Name"];
    string pattern = Model.ContainsKey("Pattern") ? Model["Pattern"] : String.Empty;
}
<label>@text</label>
<div class="form-group">
    <input ng-model="@ngModel" ng-pattern="@pattern" name="@name" type="text" class="form-control" disabled />
</div>